package com.xiaobai.spike.model.request;

import lombok.Data;

import javax.validation.Valid;
import javax.validation.constraints.NotNull;

/**
 * @author dingfeng.xiao
 */
@Valid
public class GetListByUserRequest extends PageQuery{
    @NotNull
    private Long userId;

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }
}
